package com.example.zhidingyiview.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.example.zhidingyiview.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class SpinnerActivity extends AppCompatActivity {
    @BindView(R.id.btn_tiao)
    Button mBtnTiao;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_spinner);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.btn_tiao)
    public void onClick(View v) {
        switch (v.getId()) {
            default:
                break;
            case R.id.btn_tiao:
                Intent intent = new Intent(SpinnerActivity.this, DrawviewActivity.class);
                startActivity(intent);
                finish();
                break;
        }
    }
}